<html xmlns:wicket="http://wicket.apache.org/">
<head>
  <title><wicket:message key="SQL view">SQL view</wicket:message></title>
</head>
<body>
<wicket:extend>

  <form wicket:id="form">

    <div class="mb-3">
      <label for="name"><wicket:message key="name">name</wicket:message></label>
      <input type="text" wicket:id="name"/>
    </div>
    <div class="mb-3">
      <label for="sqlDefinition"><wicket:message key="sqlDefinition">sql definition</wicket:message></label>
      <textarea rows="60" cols="20" wicket:id="sql"></textarea>
    </div>
    <div class="mb-3">
      <label for="parameters"><wicket:message key="parameters">parameters</wicket:message></label>
      <a href="#" wicket:id="guessParams"><wicket:message key="guessParams">guess from sql</wicket:message></a>&nbsp;&nbsp;&nbsp;&nbsp;
      <a href="#" wicket:id="addNewParam"><wicket:message key="addNewParam">add new</wicket:message></a>&nbsp;&nbsp;&nbsp;&nbsp;
      <a href="#" wicket:id="removeParam"><wicket:message key="removeSelected">remove selected</wicket:message></a>
      <div wicket:id="parameters"></div>
      <input type="checkbox" wicket:id="escapeSql"/><wicket:message key="escapeSql">Escape special characters</wicket:message>
    </div>
    <div class="mb-3">
      <label for="attributes"><wicket:message key="attributes">attributes</wicket:message></label>
      <a href="#" wicket:id="refresh"><wicket:message key="refresh">refresh</wicket:message></a>&nbsp;&nbsp;&nbsp;
      <span wicket:message="title:guessGeometrySridWarning"><input type="checkbox" wicket:id="guessGeometrySrid"/><wicket:message key="guessGeometrySrid">Guess geometry type and srid</wicket:message></span>
      <div wicket:id="attributes"></div>
    </div>


    <div class="button-group toolbar-sticky selfclear">
      <a href="#" class="form-button-save" wicket:id="save"><wicket:message key="save">Save</wicket:message></a>
      <a href="#" class="form-button-save" wicket:id="ok"><wicket:message key="ok">OK</wicket:message></a>
      <a href="#" class="form-button-cancel" wicket:id="cancel"><wicket:message
              key="cancel">Cancel</wicket:message></a></div>
    <span wicket:id="notice">notice</span>
  </form>

  <wicket:fragment wicket:id="checkbox">
    <input type="checkbox" wicket:id="identifier"/>
  </wicket:fragment>

  <wicket:fragment wicket:id="geometry">
    <select wicket:id="geometry"></select>
  </wicket:fragment>

  <wicket:fragment wicket:id="text">
    <input type="text" wicket:id="text"></input>
  </wicket:fragment>

</wicket:extend>


</body>
</html>